# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-hyperopt
pkgver=0.2.4
pkgrel=0
pkgdesc="Distributed Asynchronous Hyperparameter Optimization in Python"
url="https://hyperopt.github.io/hyperopt/"
arch="noarch !mips !mips64" # py3-numpy missing
license="BSD-3-Clause"
depends="python3 py3-future py3-numpy py3-networkx py3-tqdm py3-scipy py3-cloudpickle py3-decorator py3-nose py3-matplotlib"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/h/hyperopt/hyperopt-$pkgver.tar.gz"
options="!check" # Broken on ipython
builddir="$srcdir/hyperopt-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1b82d8d7e43d2d6ed88c69900943b99d0dee534cd68db96d1c7cbabfdaccf5c412f422cd44b714b8ec64338a6f4a270c556626118ea1c4aebb487f80b5ed4112  hyperopt-0.2.4.tar.gz"
